package com.example.demo.dao;


import com.example.demo.model.Department;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Administrator 张喜英
 */

@Mapper
public interface IDepartment {
    int insertDepartment(Department department);
    int updateDepartment(Department department);
    int deleteDepartment(Department department);
    List<Department> getAllDepartment(Department department);
    Department getDepartment(Department department);

    List<Department> query(int bmid);
}
